package com.example.延迟队列插件版;

import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class DelayPluginsConsumer {

   // @RabbitListener(queues = DelayPluginsConfig.DELAY_PLUGIN_QUEUE)
    public void handleDead(String message){
        System.out.println(message+new Date());
    }
}
